package yyh.filltheform.bean;

public class MainRecBean {
	private String inhosptial_id;
	private String incase_field_name;
	private String incase_field_value;
	
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime
				* result
				+ ((incase_field_name == null) ? 0 : incase_field_name
						.hashCode());
		result = prime
				* result
				+ ((incase_field_value == null) ? 0 : incase_field_value
						.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MainRecBean other = (MainRecBean) obj;
		if (incase_field_name == null) {
			if (other.incase_field_name != null)
				return false;
		} else if (!incase_field_name.equals(other.incase_field_name))
			return false;
		if (incase_field_value == null) {
			if (other.incase_field_value != null)
				return false;
		} else if (!incase_field_value.equals(other.incase_field_value))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		return true;
	}
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getIncase_field_name() {
		return incase_field_name;
	}
	public void setIncase_field_name(String incase_field_name) {
		this.incase_field_name = incase_field_name;
	}
	public String getIncase_field_value() {
		return incase_field_value;
	}
	public void setIncase_field_value(String incase_field_value) {
		this.incase_field_value = incase_field_value;
	}
	
	

}
